package com.mapper;

import java.util.List;

import com.bean.ReturnApply;

public interface ReturnApplyMapper {
	int deleteByPrimaryKey(Integer returnApplyId);

	int insert(ReturnApply record);

	int insertSelective(ReturnApply record);

	ReturnApply selectByPrimaryKey(Integer returnApplyId);

	List<ReturnApply> selectByState(Integer state);

	List<ReturnApply> selectBySupplierId(Integer supplierId);

	List<ReturnApply> selectByStateAndSupplierId(ReturnApply record);

	List<ReturnApply> selectByFinish(Integer finish);

	List<ReturnApply> selectAll();

	int updateByPrimaryKeySelective(ReturnApply record);

	int updateByPrimaryKey(ReturnApply record);

	int updateByExame(ReturnApply record);
}